package com.wangyadong.hobby.schedule.jobtask;

public interface Stack<E> {


    int size();


    boolean isEmpty();


    void push(E e);


    E top();


    E pop();


    public static void main(String[] args) {
        Long po = 1233L;
        System.out.println((Long) po);
        System.out.println(po.longValue());
        long a = 1111;
        long b = 2222;
        System.out.println("A=" + a + "\tB=" + b);
        // 进行变量交换操作
        a = a ^ b;
        System.out.println("1---=" + a);
        b = a ^ b;
        System.out.println("2---=" + b);
        a = a ^ b;
        System.out.println("3---=" + a);
        System.out.println("A---=" + a + "\tB=" + b);
    }

}